<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
  var obj01 = new Object();
  obj01.name = "张三";
  obj01.age = 18;
  obj01.Subject  = "java";
  obj01.study  = function () {
    console.log(this.name + "学习");
  };
  console.log(obj01)
  obj01.study();

  var obj02 = {
    "Name" : "李四",
    "Age" : 20,
    "Subject" : "python",
    "study" : function () {
      console.log(this.Name + "学习");
    }
  };
  console.log(obj02)
  console.log(obj02.Name)
  obj02.study();
</script>
</body>
</html>